package com.mcxx.modules.temporary.family.dao.write;

import org.apache.ibatis.annotations.Mapper;
import com.mcxx.modules.temporary.family.entity.TmpFamilyMainHistoryEntity;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TmpFamilyMainHistoryWriteDao {

	int insert(TmpFamilyMainHistoryEntity tmpFamilyMainHistory);


	int insertIgnoreNull(TmpFamilyMainHistoryEntity tmpFamilyMainHistory);


	int update(TmpFamilyMainHistoryEntity tmpFamilyMainHistory);


	int updateMemberName(@Param("name")String name, @Param("orderId")String orderId, @Param("familyId")String familyId);


	int updateIgnoreNull(TmpFamilyMainHistoryEntity tmpFamilyMainHistory);


	int delete(TmpFamilyMainHistoryEntity tmpFamilyMainHistory);

	int deleteByOrderId(String orderId);
}
